package ${packageName}.api.${moduleName}.service.model;

import com.fosun.spr.core.base.model.CoBaseSrListModel;

public class ListSrModel extends CoBaseSrListModel {

	private Datas[] datas;

	public static class Datas {
		private Integer id;
		<#list tableColumnModelList as item> 
		<#if item.isInList=="1">
		<#if item.dataType == "string">
		private String ${item.javaFieldName};
		</#if>	
		<#if item.dataType == "int">
		private Integer ${item.javaFieldName};
		</#if>		
		</#if>
		</#list>
		<#list additionListSelectFields as item>
		private String ${item.javaFieldName};
		</#list>		
		

		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}		

		<#list tableColumnModelList as item> 
		<#if item.isInList=="1">
		<#if item.dataType == "string">
		public String get${item.javaFieldNameU}() {
			return ${item.javaFieldName};
		}

		public void set${item.javaFieldNameU}(String ${item.javaFieldName}) {
			this.${item.javaFieldName} = ${item.javaFieldName};
		}
		</#if>	
		<#if item.dataType == "int">
		public Integer get${item.javaFieldNameU}() {
			return ${item.javaFieldName};
		}

		public void set${item.javaFieldNameU}(Integer ${item.javaFieldName}) {
			this.${item.javaFieldName} = ${item.javaFieldName};
		}
		</#if>		
		</#if>	
		</#list>	

		
		<#list additionListSelectFields as item> 
		public String get${item.javaFieldNameU}() {
			return ${item.javaFieldName};
		}

		public void set${item.javaFieldNameU}(String ${item.javaFieldName}) {
			this.${item.javaFieldName} = ${item.javaFieldName};
		}
		</#list>
	}

	public Datas[] getDatas() {
		return datas;
	}

	public void setDatas(Datas[] datas) {
		this.datas = datas;
	}

}
